﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfGoodsView.aspx.cs" Inherits="msBsc.WebUi.wfGoodsView" %>

<!DOCTYPE HTML>
<html>
<head id="Head1" runat="server">
    <title><%=drGoods["GOODS_NME"].ToString() %></title>
    <link rel="shortcut icon" href="/themes/Style1/Image/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/??themes/Style1/StyleQt.css,themes/Style1/gView.css" />
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jBPage.js,themes/Style1/jsQt.js,jqPlugin/js/laytpl.js,themes/Style1/jsView.js"
        type="text/javascript"></script>
        <style type="text/css">
        
	.phone_img{width: 70px; height: 70px; float: left; background: url('/themes/Style1/images/phone1.jpg');}
	.phone_txt_wrap{width: auto; height: auto; float: left; padding-left: 10px;}
	.phone_txt_font1{height: 25px; line-height: 25px; font-size: 14px;}
	.phone_txt_font2{height: 45px; line-height: 45px; font-size: 28px;}
        </style>
    <!--head fix rgn-->
    <script type="text/javascript">
        $(window).load(function () {
            jQuery.ploadFile("prbar");
        });
        function doBoundHeader(_data, _shopurl) {
            _shopurl = _shopurl || "/Template/SysShopHeader.html";
            if (_shopurl != null && _shopurl != undefined && _shopurl != '') {
                jQuery.loadHtml(_shopurl).done(function (_rethtml) {
                    var tpl = HtmlUtil.htmlDecode(_rethtml);
                    laytpl(tpl).render(_data, function (render) {
                        $("#shophd").html(render);
                    });
                });
            }
        };
    </script>
</head>
<body>
    <div class=" w1190">
        <!-- -->
        <!--商城通用顶通-->
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderTopHtml()%>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderLogoHtml("")%>
        <div >
             <div id="shophd" style="">  
             
             </div>



    <div style="clear:both;"></div>
            <div id="content" class="content"> 



                <div id="detail">
                    <div id="J_DetailMeta" class="tm-detail-meta tm-clear">
                        <div class="tm-clear">
                            <div class="tb-property">
                                <div class="tb-wrap">
                                    <div class="tb-detail-hd">
                                        <h1>
                                            <%=drGoods["GOODS_NME"].ToString()%>
                                        </h1>
                                        <p>
                                            <%=drGoods["GOODS_DESC"].ToString()%>
                                        </p>
                                    </div>
                                    <!--引入normalBasic-->
                                    <div class="tm-fcs-panel">
                                        <%=GetPriceHtml() %>
                                    </div>
                                    <div class="tb-meta">
                                        <dl class="tm-delivery-panel">
                                            <dt class="tb-metatit">运费</dt><dd>
                                                <div class="tb-postAge" style="display: none;" id="J_RSPostageCont">
                                                    <span class="tb-deliveryAdd" id="J_deliveryAdd">
                                                        <%=drGoods["SHIP_ADDRESS_NME"].ToString()%></span>至 <span id="J_AddrSelectTrigger"
                                                            class="mui_addr_tri"><span class="mui_addr_tri_1" id="spnToProvince">重庆<i class="mui_addr_icon"></i></span></span>
                                                    <div id="J_PostageToggleCont" class="tb-postAge-info">
                                                        <p>
                                                            快递: <span id="spnLogisticsFreight">0.00 </span>
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="tb-postAge">
                                                    正在获取数据...</div>
                                            </dd>
                                        </dl>
                                    </div>
                                    <ul class="tm-ind-panel">
                                        <li class="tm-ind-item tm-ind-sellCount canClick">
                                            <div class="tm-indcon">
                                                <span class="tm-label">月销量</span><span class="tm-count" id="spnMonthVol2">28</span></div>
                                        </li>
                                        <li class="tm-ind-item tm-ind-reviewCount canClick tm-line3" id="J_ItemRates">
                                            <div class="tm-indcon">
                                                <span class="tm-label">累计评价</span><span class="tm-count" id="spnRateCount2">15</span></div>
                                        </li>
                                        <li class="tm-ind-item tm-ind-emPointCount">
                                            <div class="tm-indcon">
                                                <a href="javascript:void(0);" target="_blank"><span class="tm-label">送好品济宁积分</span><span
                                                    class="tm-count"><%=drGoods["SCORE_NUM"].ToString() %></span></a></div>
                                        </li>
                                    </ul>
                                    <div class="tb-key">
                                        <div class="tb-skin">
                                            <div class="tb-sku">
                                                <div id="divNormsView">
                                                    <%=GetGoodsNormsList() %>
                                                </div>
                                                <dl class="tb-amount tm-clear">
                                                    <dt class="tb-metatit">数量</dt>
                                                    <dd id="J_Amount">
                                                        <span class="tb-amount-widget mui-amount-wrap">
                                                            <input type="text" class="tb-text mui-amount-input" value="1" maxlength="8" title="请输入购买量">
                                                            <span class="mui-amount-btn"><span class="mui-amount-increase"></span><span class="mui-amount-decrease">
                                                            </span></span><span class="mui-amount-unit">件</span> </span><em class="tb-hidden"
                                                                style="display: inline;">库存<span id="J_EmStock"><%=strTotalQty%></span>件</em>
                                                        <span id="J_StockTips"></span>
                                                    </dd>
                                                </dl>
                                                <div class="tb-action tm-clear">
                                                <div id="divsubbtn" style="display:none;">
                                                    <div class="tb-btn-buy tb-btn-sku">
                                                        <a id="J_LinkBuy" href="javascript:void(0);" title="点击此按钮，到下一步确认购买信息。">立刻购买<b></b></a>
                                                    </div>
                                                    <div class="tb-btn-basket tb-btn-sku ">
                                                        <a href="javascript:void(0);" rel="nofollow" title="点击此按钮，将商品添加到购物车。" id="J_LinkBasket">加入购物车<b></b></a></div>
                                                   </div>

                                                   <div style="width: 320px; height: 70px; padding-top: 40px; float: left;">
							
								<div class="phone_img"></div>
								<div class="phone_txt_wrap">
									<div class="phone_txt_font1">订购专线</div>
									<div class="phone_txt_font2">0537-2161670</div>
								</div>
							
							<a style="" target="_blank" href="tencent://message/?uin=969763593&amp;Site=yige.org&amp;Menu=yes">
								<img src="http://wpa.qq.com/pa?p=1:740949746:13" alt="click me">
							</a>
						</div>

     <div id="divErrShow" style=" font-size:18px;color:Red; padding-top:6px; font-weight:bold;display:none;">该商品已下架，暂时不能购买！</div>    
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tm-ser tm-clear">
                                        <div class="tm-pay-box">
                                            <div class="tm-pay">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="tb-gallery">
                                <%=GetGoodsImgShow()%>
                                <p class="tm-action tm-clear">
                               <%--     <span id="J_EditItem"></span><a id="J_IShare" class="iShare tm-event" href="#"><i></i>分享</a>
                                    <a id="J_AddFavorite" href="javascript:;" class="favorite"><i></i>收藏商品</a>--%>
                                    <!-- ruleBanner--> 
                                    <span id="J_CollectCount">
                                        <%=drGoods["COLLECTION_NUM"].ToString()%></span>
                                </p>
                            </div>
                        </div>
                        <!-- ruleBanner-->
                        <div id="ald-skuRight" class="ald-skuRight ald ald-03054" data-spm="1998025129">
                            <div class="ald-inner ">
                                <div class="ald-hd ">
                                    <s></s><span>看了又看</span>
                                </div>
                                <div class="ald-carousel">
                                    <div class="wrapCon">
                                        <ul class="ald-switchable-content">
                                        </ul>
                                    </div>
                                    <ul class="ald-switchable-trigger">
                                        <li class="ald-switchable-prev-btn">上一个</li>
                                        <li class="ald-switchable-next-btn">下一个</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="bd">
                    <div class="grid-s5m0 tm-clear">
                        <div class="col-main tm-clear">
                            <div id="mainwrap" class="main-wrap">
                                <div id="J_TabBarBox" style="width: 788px;">
                                    <ul id="J_TabBar" class="tabbar tm-clear">
                                        <li class="tm-selected" rel="divGoodsInfo"><a href="javascript:void(0);">商品详情</a></li><li
                                            rel="J_Reviews"><a href="javascript:void(0);">累计评价 <em class="J_ReviewsCount" style="display: inline;"
                                                id="spnRateCount1"></em></a></li>
                                        <li rel="J_DealRecord"><a href="javascript:void(0);">月成交记录<span class="J_MonSales"
                                            style="display: inline;"><em class="J_TDealCount tm-MRswitchRecord" id="spnMonthVol1"></em>件</span></a></li>
                                    </ul>
                                </div>
                                <div class="tabbar-bg" style="display: none;">
                                </div>
                                <div id="divGoodsInfo">
                                    <div style="height: 0px; margin-top: 0px; margin-bottom: 0px; overflow: hidden; width: 790px;">
                                    </div>
                                    <div id="attributes" class="attributes">
                                        <div class="attributes-list" id="J_AttrList">
                                            <%=GetGoodsAttrList() %>
                                        </div>
                                    </div>
                                    <div id="mall-banner">
                                    </div>
                                    <div id="J_TmpActBanner">
                                    </div>
                                    <div id="J_DcTopRightWrap">
                                        <div id="J_DcTopRight" class="J_DcAsyn tb-shop">
                                        </div>
                                    </div>
                                    <div id="description" class="J_DetailSection tshop-psm tshop-psm-bdetaildes">
                                        <h4 class="hd">
                                            商品详情</h4>
                                        <div class="content ke-post" style="height: auto;">
                                            <%=GetGoodsDescHtml()%> 
                                        </div>
                                    </div>
                                </div>
                                <!-- 试用详情 -->
                                <%--     <div id="J_ShopService" class="pledge3c">
                                    <div class="tmP3ct">
                                        <h2>
                                            店铺服务详情</h2>
                                    </div>
                                </div>
                                <div id="J_Faq" class="pledge3c">
                                    <div class="tmP3ct">
                                        <h2>
                                            常见问题</h2>
                                    </div>
                                </div>--%>
                                <div id="J_Detail">
                                    <!-- 新首发试用详情 -->
                                    <!-- 专业评测 -->
                                    <div id="J_Reviews" class="J_DetailSection" style="display: none;">
                                        <div class="tm-rate">
                                            <div class="rate-compose">
                                            </div>
                                            <div class="rate-subject">
                                            </div>
                                            <div class="rate-charts">
                                            </div>
                                            <div class="rate-toolbar">
                                                <span class="rate-filter">
                                                    <input class="rate-list-all rate-radio-group" id="J_R1" type="radio" name="radiogrounp"
                                                        value="" checked=""><label for="J_R1">全部</label>
                                                    <input class="rate-list-append rate-radio-group" id="J_R2" type="radio" name="radiogrounp"
                                                        value="追评"><label for="J_R2">追评 (<em class="tm-h" id="emD2">0</em>)</label>
                                                    <input class="rate-list-picture rate-radio-group" id="J_R3" type="radio" name="radiogrounp"
                                                        value="图片"><label for="J_R3">图片 (<em class="tm-h" id="emD3">0</em>)</label>
                                                    <input class="rate-list-picture rate-radio-group" id="J_R4" type="radio" name="radiogrounp"
                                                        value="好评"><label for="J_R4">好评 (<em class="tm-h" id="emD4">0</em>)</label>
                                                    <input class="rate-list-picture rate-radio-group" id="J_R5" type="radio" name="radiogrounp"
                                                        value="中评"><label for="J_R5">中评 (<em class="tm-h" id="emD5">0</em>)</label>
                                                    <input class="rate-list-picture rate-radio-group" id="J_R6" type="radio" name="radiogrounp"
                                                        value="差评"><label for="J_R6">差评 (<em class="tm-h" id="emD6">0</em>)</label></span><span class="tm-toolbar-lft"><span
                                                            class="tm-rate-addin"></span>
                                                            <input class="rate-list-hascontent" id="J_R7" type="checkbox" name="content" checked=""><label
                                                                for="J_R7">有内容</label></span></div>
                                            <div class="rate-grid">
                                                <table id="ratetbody">
                                                </table>
                                            </div>
                                            <div id="ratepaginator">
                                            </div>
                                            <div class="rate-tryreport">
                                                <div class="tm-trygrid">
                                                </div>
                                                <div class="tm-trypage">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="J_DealRecord" class="J_DetailSection" style="display: none;">
                                        <div class="wrap">
                                            <div id="J_showBuyerList" class="J_TAjaxContainer tm-clear">
                                            </div>
                                            <div id="buyerlistpage">
                                            </div>
                                        </div>
                                    </div>
                                    <div id="official-remind" class="j-mdv" mdv-cls="" mdv-cfg="">
                                        <!--TMS:924445-->
                                        <dl class="tb-secu">
                                            <dt>卖家承诺：</dt><dd>
                                                <p>
                                                    凡使用支付宝服务付款购买本店商品，若存在质量问题或与描述不符，本店支持退换货服务并承担来回邮费！</p>
                                            </dd>
                                        </dl> 
                                        <dl class="tb-exemption">
                                            <dt>免责声明：</dt><dd>好品济宁所展示的宝贝供求信息由买卖双方自行提供，其真实性、准确性和合法性由信息发布人负责。好品济宁不提供任何保证，并不承担任何法律责任。好品济宁友情提醒：为保障您的利益，请网上成交，贵重宝贝，请使用<a
                                                href="http://www.taobao.com/strade/strade.php" target="_blank">支付宝</a>交易。</dd></dl>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sub">
                            <div id="J_DcShopArchive" class="J_DcAsyn">
                                <div id="side-shop-info">
                                   <%= GetShopInfo()%>
                                </div>
                            </div>
                            <div id="J_DcLeft" class="J_DcAsyn tb-shop">
                            </div>
                        </div>
                        <div id="col-extra" class="col-extra tm-bd-side">
                            <dl id="J_DescCate" class="tm-descCate" style="">
                                <div class="ald-skuRight ald ald-03054">
                                    <div class="ald-inner ">
                                        <div class="ald-hd ">
                                            <s></s><span>掌柜推荐</span>
                                        </div>
                                        <div class="ald-carousel">
                                            <ul class="ald-switchable-content" id="spnrecommendlist"> 
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </dl>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <%=GetLookListJs()%>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetFloorHtml()%>
    </div>
    <input type="hidden" id="Ratecurrpage" value="1">
    <input type="hidden" id="Dealcurrpage" value="1">
    <input type="hidden" id="txtId" value="">
    <input type="hidden" id="txtLogisId" value="">
<%--    <input type="hidden" id="txtLogisNme" value="">--%>
    <input type="hidden" id="txtDealerId" value="">
    <!-- template -->
    <textarea id="rate_list_temp" style="display: none;">  
        <tbody>
        {{# if(d.rows.length == 0){ }} 
     <div class="no-result-box layout-center"> 
       没有评价信息。
       </div> 
          {{#} else {}}   {{# for(var i = 0, len = d.rows.length; i < len; i++){ }}
            
                <tr>
                    <td class="tm-col-master">
                        <div class="tm-rate-premiere">
                            <div class="tm-rate-tag">
                                <div class="tm-rate-title">
                                    初次评价:</div>
                                <div class="tm-rate-date">
                                    {{ d.rows[i].BUYER_RATE_DT1 }}</div>
                            </div>
                            <div class="tm-rate-content">
                                <div class="tm-rate-fulltxt">
                                    {{ d.rows[i].BUYER_RATE_DESC1 }}</div>
                                {{# if(d.rows[i].GOODS_IMG_URL1!=''){}}
                                <div class="tm-m-photos">
                                    <ul class="tm-m-photos-thumb">

                                        {{# if(d.rows[i].GOODS_IMG_URL1!=''){}}
                                        <li><img src="{{ d.rows[i].GOODS_IMG_URL1 }}"><b class="tm-photos-arrow"></b></li>
                                        {{#}}}
                                        {{# if(d.rows[i].GOODS_IMG_URL2!=''){}}
                                        <li><img src="{{ d.rows[i].GOODS_IMG_URL2 }}"><b class="tm-photos-arrow"></b></li>
                                        {{#}}}
                                        {{# if(d.rows[i].GOODS_IMG_URL3!=''){}}
                                        <li><img src="{{ d.rows[i].GOODS_IMG_URL3 }}"><b class="tm-photos-arrow"></b></li>
                                        {{#}}}
                                        {{# if(d.rows[i].GOODS_IMG_URL4!=''){}}
                                        <li><img src="{{ d.rows[i].GOODS_IMG_URL4 }}"><b class="tm-photos-arrow"></b></li>
                                        {{#}}}
                                        {{# if(d.rows[i].GOODS_IMG_URL5!=''){}}
                                        <li><img src="{{ d.rows[i].GOODS_IMG_URL5 }}"><b class="tm-photos-arrow"></b></li>
                                        {{#}}}
                                    </ul>
                                    <div class="tm-m-photo-viewer" style="width: 1px; height: 1px; display: none;">
                                        <img src="data:image/png;base64," style="width: 256px; max-height: 256px; "></div>
                                </div>
                                {{#}}}
                            </div>
                            {{# if(d.rows[i].SELLER_REPLY1!=''){}}
                            <div class="tm-rate-reply">
                                <div class="tm-rate-fulltxt">
                                    解释：{{ d.rows[i].SELLER_REPLY1 }}</div>
                            </div>
                            {{#}}}
                        </div>
                        {{# if(d.rows[i].BUYER_RATE_DESC2!=''){}}
                        <div class="tm-rate-append">
                            <div class="tm-rate-tag">
                                <div class="tm-rate-title">
                                    <span class="tm-rate-daydiff">追加：</span></div>
                                <div class="tm-rate-date">
                                {{ d.rows[i].BUYER_RATE_DT2 }}
                                </div>
                            </div>
                            <div class="tm-rate-content">
                                <div class="tm-rate-fulltxt">
                                    {{ d.rows[i].BUYER_RATE_DESC2 }}</div>
                            </div>
                            <s></s>
                        </div>
                        {{# }}}
                        <div class="tm-rate-append">
                                <div class="tm-rate-fulltxt" style="color:#888;">
                                    {{ d.rows[i].NORMS_DESC }}</div>
                        </div>
                    </td>
                    <td class="col-meta">
                        <div class="rate-user-profile">
                        {{# if(d.rows[i].BUYER_RATE_NUM=='1'){}}
                              <i class="icon icon-rank icon-good" title="好评"></i> <span>好评</span>
                        {{# }}}
                        {{# if(d.rows[i].BUYER_RATE_NUM=='0'){}}
                              <i class="icon icon-rank icon-normal" title="中评"></i> <span>中评</span>
                        {{# }}}
                        {{# if(d.rows[i].BUYER_RATE_NUM=='-1'){}}
                              <i class="icon icon-rank icon-bad" title="差评"></i> <span>差评</span>
                        {{# }}}
                             
                        </div>
                        <div class="rate-sku">
                        </div>
                    </td>
                    <td class="col-author">
                        <div class="rate-user-info">
                            <a target="_self" href="#">{{ d.rows[i].USER_NME }}</a></div>
                        <div class="rate-user-grade"> </div>
                    </td>
                </tr>


            {{# } }}  {{# }}}
            </tbody>
        </textarea>
    <textarea id="buyer_list_temp" style="display: none;">    
          <table summary="成交记录" border="0" cellspacing="0" cellpadding="0" class="table-deal-record">      
            <colgroup>
                <col class="col-buyer">
                <col class="col-goods">
                <col class="col-amount">
                <col class="col-price">
                <col class="col-chargetime">
            </colgroup>
            <tbody>
                <tr>
                    <th class="th-buyer">
                        买家
                    </th>
                    <th class="th-goods">
                        款式/型号
                    </th>
                    <th class="th-quantity">
                        数量
                    </th>
                    <th class="th-price">
                        拍下价格
                    </th>
                    <th class="th-dealtime">
                        成交时间
                    </th>
                </tr>
            {{# for(var i = 0, len = d.rows.length; i < len; i++){ }}            
                <tr>
                    <td class="cell-align-l buyer">
                        <div class="line">
                            {{ d.rows[i].USER_NME }}
                        </div>
                        <div class="line"> 
                        </div>
                    </td>
                    <td class="cell-align-l style">
                        {{ d.rows[i].NORMS_DESC }}
                    </td>
                    <td class="quantity">
                        {{ d.rows[i].GOODS_QTY }}
                    </td>
                    <td class="price">
                        <em>￥{{ d.rows[i].GOODS_STRIKE_PRICE }}</em>
                    </td>
                    <td class="dealtime">
                        <p class="date">
                            {{ d.rows[i].INITIAL_DT }}</p>
                    </td>
                </tr>

            {{# } }}
            </tbody>
            </table>
        </textarea>
    <textarea id="recommend_list_temp" style="display: none;">  
            {{# for(var i = 0, len = d.rows.length; i < len; i++){ }}
                <li>
                    <div class="img">
                        <a class="ALDCLS-act" href="/c_GoodsView.htm?ID={{ d.rows[i].GOODS_ID }}" target="_blank">
                            <img title="" alt="" src="{{ d.rows[i].IMG_URL }}">
                        </a>
                        <p class="look_price">
                            ￥{{ d.rows[i].GOODS_STRIKE_PRICE }}</p>
                    </div>
                </li>
            {{# } }}
        </textarea>
    <textarea id="norms_list_temp" style="display: none;">  
            {{# for(var i = 0, len = d.rows.length; i < len; i++){ }}

                <dl class="tb-prop tm-clear" group-n="{{ d.rows[i].GROUP_N }}">
        <dt class="tb-metatit">{{ d.rows[i].NORMS_NME }}</dt>
        <dd>
            <ul data-property="p{{ d.rows[i].GROUP_N }}" class="tm-clear J_TSaleProp" sel-data-value="{{# if(d.rows[i].rows[r].IS_CHECKED!='1'){ }}{{ d.rows[i].rows[r].PUB_NORMS_NME }}{{# }else { }}{{# } }}">
                {{# for(var r = 0, lenr = d.rows[i].rows.length; r < lenr; r++){ }}
                    {{# if(d.rows[i].rows[r].IS_CHECKED=='1'){ }}
                <li data-value="{{ d.rows[i].rows[r].PUB_NORMS_NME }}" class="tb-selected"><a href="javascript:void(0);"><span>{{ d.rows[i].rows[r].PUB_NORMS_NME }}</span></a><i>已选中</i></li>
                    {{# } else { }}
                <li data-value="{{ d.rows[i].rows[r].PUB_NORMS_NME }}" class="{{# if(d.rows[i].rows[r].ALLOW_CHECK!='1'){ }} tb-out-of-stock {{# }else { }} {{# } }}"><a href="javascript:void(0);"><span>{{ d.rows[i].rows[r].PUB_NORMS_NME }}</span></a></li>
                    {{# } }}
                {{# } }}
            </ul></dd></dl>

            {{# } }}
        </textarea>
    <!-- foot script -->



    <div>
    
    </div>

     





</body>
</html>
